﻿@model HR.ProjectX.GUI.ViewModels.Vehicle.VehicleDetailView

@{
    ViewBag.Title = "Vehicle";
}

<h1 class="page-title">@Model.Vehicle.Model.ModelName</h1>

<table id="vehicle-table">
    <tr>
        <td><label>Model:</label></td>
        <td>@Model.Vehicle.Model.ModelName</td>
    </tr>
    <tr>
        <td><label>Manufacturer:</label></td>
        <td>@Model.Vehicle.Manufacturer.ManufacturerName</td>
    </tr>
    <tr>
        <td><label>Category:</label></td>
        <td>@Model.Vehicle.VehicleCategory.VehicleDescription</td>
    </tr>
    <tr>
        <td><label>Registration Number:</label></td>
        <td>@Model.Vehicle.RegistrationNumber</td>
    </tr>
    <tr>
        <td><label>Current Kilometers:</label></td>
        <td>@Model.Vehicle.CurrentKilometers</td>
    </tr>
    <tr>
        <td><label>Daily Hire Rate:</label></td>
        <td>$@Model.Vehicle.DailyHireRate</td>
    </tr>
    <tr>
        <td colspan="2"><a href="/Booking/Book/@Model.Vehicle.Model.ModelName">Book</a></td>
    </tr>
</table>